package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 库存清单对象 inventory_list
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class InventoryList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String code;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String spec;

    /** 类别 */
    @Excel(name = "类别")
    private String tname;

    /** 存储单位 */
    @Excel(name = "存储单位")
    private String uname;

    /** 仓库 */
    @Excel(name = "仓库")
    private String wname;

    /** 库位 */
    @Excel(name = "库位")
    private String wpname;

    private Long wid;

    public Long getWid() {
        return wid;
    }

    public void setWid(Long wid) {
        this.wid = wid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }
    public void setWname(String wname) 
    {
        this.wname = wname;
    }

    public String getWname() 
    {
        return wname;
    }
    public void setWpname(String wpname) 
    {
        this.wpname = wpname;
    }

    public String getWpname() 
    {
        return wpname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("spec", getSpec())
            .append("tname", getTname())
            .append("uname", getUname())
            .append("wname", getWname())
            .append("wpname", getWpname())
            .toString();
    }
}
